package com.cyl.manager.act.domain.convert;

import org.mapstruct.Mapper;


import com.cyl.manager.act.domain.entity.FhVipExchangeCode;
import com.cyl.manager.act.domain.vo.FhVipExchangeCodeVO;
import com.cyl.manager.act.domain.dto.FhVipExchangeCodeDTO;


import java.util.List;
/**
 * VIP兑换码表  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(componentModel = "spring")
public interface FhVipExchangeCodeConvert  {

    /**
     * @param source DO
     * @return DTO
     */
    FhVipExchangeCodeDTO do2dto(FhVipExchangeCode source);

    /**
     * @param source DTO
     * @return DO
     */
    FhVipExchangeCode dto2do(FhVipExchangeCodeDTO source);

    List<FhVipExchangeCodeVO> dos2vos(List<FhVipExchangeCode> list);
}
